package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.ScrewConfig;
import org.apache.ibatis.annotations.Mapper;

/**
 * screwConfigMapper接口
 * 
 * @author 李奎
 * @date 2023-11-13
 */
@Mapper
public interface ScrewConfigMapper {
    /**
     * 查询screwConfig
     * 
     * @param screwId screwConfig主键
     * @return screwConfig
     */
    public ScrewConfig selectScrewConfigByScrewId( Long screwId );

    /**
     * 查询screwConfig列表
     * 
     * @param screwConfig screwConfig
     * @return screwConfig集合
     */
    public List<ScrewConfig> selectScrewConfigList( ScrewConfig screwConfig );

    /**
     * 新增screwConfig
     * 
     * @param screwConfig screwConfig
     * @return 结果
     */
    public int insertScrewConfig( ScrewConfig screwConfig );

    /**
     * 修改screwConfig
     * 
     * @param screwConfig screwConfig
     * @return 结果
     */
    public int updateScrewConfig( ScrewConfig screwConfig );

    /**
     * 删除screwConfig
     * 
     * @param screwId screwConfig主键
     * @return 结果
     */
    public int deleteScrewConfigByScrewId( Long screwId );

    /**
     * 批量删除screwConfig
     * 
     * @param screwIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteScrewConfigByScrewIds( Long[] screwIds );
}
